package com.example.security2.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.w3c.dom.Text;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class MyUser implements Serializable {
    private Integer userId	;
    private String username	;
    private String password	;
    private String phone;
    //role	ENUM('user', 'admin');//枚举类如何和数据库映射不知道?
    private String role;
    private String created_at	;//?
    private String avatar;
    private Text qq	;
    private Text wechat	;
    private Text email;
    private Integer visit;
    private Integer follow_num;
    private Text introduce;

}
